אֵ֣לֶּה בְנֵי־חָ֔ם לְמִשְׁפְּחֹתָ֖ם לִלְשֹֽׁנֹתָ֑ם בְּאַרְצֹתָ֖ם בְּגוֹיֵהֶֽם׃ (ס)
These are the sons of Ham, after their families, after their tongues, in their lands, in their nations.
Rashi on Genesis
ללשנתם בארצתם AFTER THEIR TONGUES, IN THEIR LANDS — Although these were of different tongues and lands they are nevertheless all sons of Ham.